package com.example.demo.service;

import com.example.demo.entity.User;

import java.util.List;

/**
 * @author zhangs
 * @version v1.0
 * @decription 用户服务类
 * @date 2021/4/6 23:59
 **/
public interface UserService {
    List<User> findAll();

    User saveUser(User user);

    int updatePassword(Long id, String password);

    User findOne(Long id);
}
